package org.cuit.epoch.seon.example;

import lombok.Setter;

/**
 * @author Seon
 * @version 1.0
 * @since 2024-09-11
 */
@Setter
public class LightContext {

    private State currentState;

    public LightContext() {
        currentState = new OffState();
    }

    public void pressSwitch() {
        currentState.pressSwitch(this);
    }
}
